﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Service.Contract
{
    /// <summary>
    /// 请求修改控制状态事件的数据
    /// </summary>
    [Serializable]
    public class ReqChangeControlStateEventData
    {
        public string UserIdentity { get; set; }
        public string Solution { get; set; }
        public string DomainId { get; set; }
        /// <summary>
        /// 0x01:under control
        /// 0x02:out of control
        /// </summary>
        public ControlState ControlState { get; set; }

        public ReqChangeControlStateEventData(ControlState controlState, string userIdentity, string solution, string domainId)
        {
            ControlState = controlState;
            UserIdentity = userIdentity;
            Solution = solution;
            DomainId = domainId;
        }
    }
}
